package com.info.zhiduoduo.weixin.formbean.project;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.info.zhiduoduo.common.utils.DateUtil;

import java.math.BigDecimal;
import java.util.Date;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

@Data
public class PublishProjectFormBean {

    // private int projectid;
    private String projectname;
    private int projecttype; //1.公开 2私密
    private int userid; //创客ID
    private int categoryid;
    private String categoryname;
    /** 1.普票2专票 */
    private int invoicetype;
    private String invoicecontent;//发票内容
    private int projectcycle; //天数
    private String projectintro;
    private BigDecimal budgetstart;
    private BigDecimal budgetend;
    private BigDecimal projectamount;
    /** 是否需要自动验收 0:否 1:是 */
    private int autoCheck;
    @ApiModelProperty("合伙人提现id")
    private int partnerWithdrawId;
    @ApiModelProperty("商品明细文件路径")
    private String commodityDetailFilePath;
    @ApiModelProperty("招标类型 1：邀约 2：公开")
    private int bidType = 1;
    @JsonFormat(pattern = DateUtil.FORMAT_STYLE_2, timezone = DateUtil.TIME_ZONE_CHINA)
    @ApiModelProperty("公开招标结束日期，字符串yyyy-MM-dd")
    private Date bidEnd;
    @JsonFormat(pattern = DateUtil.FORMAT_STYLE_2, timezone = DateUtil.TIME_ZONE_CHINA)
    @ApiModelProperty("公开招标项目完成截止日期，字符串yyyy-MM-dd")
    private Date bidProjectFinish;
    @ApiModelProperty("是否通知乙方上传交付物 0：否 1：是")
    private int notifyUploadDelivery;
}
